<style>
    .fui-navbar .nav-item.active, .fui-navbar .nav-item:active {color: {$p['color']}}
</style>
<div class="fui-navbar">
    <a href="{php echo mobileUrl('sign')}"
       class="external nav-item {if $_GPC['r'] == 'sign'}active{/if}">
        <span class="icon icon-goods1"></span>
        <span class="label">{$p['credit']}{$p['sign']}</span>
    </a>

    <a href="{php echo mobileUrl('sign/rank')}"
       class="external nav-item {if $_W['routes'] == 'sign.rank'}active{/if}">
        <span class="icon icon-rank"></span>
        <span class="label">{$p['sign']}排行</span>
    </a>

{if p('creditshop')}
    <a href="{php echo mobileUrl('creditshop')}"
       class="external nav-item {if $_W['routes'] == 'creditshop.sign'}active{/if}">
        <span class="icon icon-creditlevel"></span>
        <span class="label">{$p['credit']}商城</span>
    </a>
{/if}

    <a href="{php echo mobileUrl()}" class="external nav-item">
        <span class="icon icon-home"></span>
        <span class="label">商城首页</span>
    </a>

    <a href="{php echo mobileUrl('member')}" class="external nav-item">
        <span class="icon icon-person2"></span>
        <span class="label">会员中心</span>
    </a>


</div>
